package com.pbc.gmp.model.basemodel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 组织机构类型的规则表，用来确定组织之间的关系
 * </p>
 *
 * @author kjk
 * @since 2017-12-23
 */
@TableName("t_org_type_rule")
public class OrgTypeRule implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 规则的父id
	 */
	private Long pid;

	/**
	 * 规则的子id
	 */
	private Long cid;

	/**
	 * 如果为－1表示可以有无限多个
	 */
	private Integer num;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

}
